package cn.how2go.api.entity;

import java.sql.Time;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author LGP
 * @since 2020-05-31
 */
public class Fence implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.UUID)
    private String id;
    @TableField("Source")
    private String Source;
    @TableField("Name")
    private String Name;
    @TableField("Rule")
    private Integer Rule;
    @TableField("Valid")
    private Integer Valid;
    @TableField("Type")
    private Integer Type;
    @TableField("State")
    private Integer State;
    @TableField("StartTime")
    private Time StartTime;
    @TableField("EndTime")
    private Time EndTime;
    @TableField("PtNum")
    private Integer PtNum;
    @TableField("Points")
    private byte[] Points;
    @TableField("RecordTime")
    private Date RecordTime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSource() {
        return Source;
    }

    public void setSource(String Source) {
        this.Source = Source;
    }

    public String getName() {
        return Name;
    }

    public void setName(String Name) {
        this.Name = Name;
    }

    public Integer getRule() {
        return Rule;
    }

    public void setRule(Integer Rule) {
        this.Rule = Rule;
    }

    public Integer getValid() {
        return Valid;
    }

    public void setValid(Integer Valid) {
        this.Valid = Valid;
    }

    public Integer getType() {
        return Type;
    }

    public void setType(Integer Type) {
        this.Type = Type;
    }

    public Integer getState() {
        return State;
    }

    public void setState(Integer State) {
        this.State = State;
    }

    public Time getStartTime() {
        return StartTime;
    }

    public void setStartTime(Time StartTime) {
        this.StartTime = StartTime;
    }

    public Time getEndTime() {
        return EndTime;
    }

    public void setEndTime(Time EndTime) {
        this.EndTime = EndTime;
    }

    public Integer getPtNum() {
        return PtNum;
    }

    public void setPtNum(Integer PtNum) {
        this.PtNum = PtNum;
    }

    public byte[] getPoints() {
        return Points;
    }

    public void setPoints(byte[] Points) {
        this.Points = Points;
    }

    public Date getRecordTime() {
        return RecordTime;
    }

    public void setRecordTime(Date RecordTime) {
        this.RecordTime = RecordTime;
    }


    @Override
    public String toString() {
        return "Fence{" +
        ", id=" + id +
        ", Source=" + Source +
        ", Name=" + Name +
        ", Rule=" + Rule +
        ", Valid=" + Valid +
        ", Type=" + Type +
        ", State=" + State +
        ", StartTime=" + StartTime +
        ", EndTime=" + EndTime +
        ", PtNum=" + PtNum +
        ", Points=" + Points +
        ", RecordTime=" + RecordTime +
        "}";
    }
}
